package com.michael.study.jetpack.bean

import androidx.room.Entity
import androidx.room.PrimaryKey

/**
 * Description:
 *
 * Created by liuguoquan on 2020/3/18 21:19.
 */
@Entity
data class User(var name: String, var sex: String) {

    @PrimaryKey(autoGenerate = true)
    var id: Long = 0

    override fun toString(): String {
        return "id = $id name = $name sex = $sex"
    }
}